﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucListProductType.ascx.cs"
    Inherits="SES.CMS.Module.ucListProductType" %>
<%@ Register TagPrefix="cc1" Namespace="SiteUtils" Assembly="CollectionPager" %>
<div class="subcolumns optionblock">
    <div class="c33l">
        <div class="subcl">
            <div class="productamount">
                <span class="label"><font>
                    <asp:Label runat="server" ID="rlblView" Text="<%$Resources:Language, rlblView %>"></asp:Label></font></span>
                <asp:LinkButton runat="server" ID="lbtn20" Text="20" OnClick="lbtn20_Click"></asp:LinkButton>
                <asp:LinkButton runat="server" ID="lbtn50" Text="50" OnClick="lbtn50_Click"></asp:LinkButton>
                <asp:LinkButton runat="server" ID="lbtn100" Text="100" OnClick="lbtn100_Click"></asp:LinkButton>
            </div>
        </div>
    </div>
    <div class="c33l">
        <div class="subc">
            <div class="productbrowser">
                <cc1:CollectionPager ID="CollectionPager1" runat="server" BackText="Back" ShowFirstLast="false"
                    NextText="Next" SliderSize="10" PagingMode="PostBack">
                </cc1:CollectionPager>
            </div>
        </div>
    </div>
    <div class="c33r">
        <div class="subcr">
            <div class="productsorting">
                <span class="label"><font>
                    <asp:Label runat="server" ID="rlblSortBy" Text="<%$Resources:Language,rlblSortBy %>"></asp:Label></font></span>
                <asp:DropDownList runat="server" ID="ddlSortBy" AutoPostBack="true" OnSelectedIndexChanged="ddlSortBy_SelectedIndexChanged">
                </asp:DropDownList>
            </div>
        </div>
    </div>
</div>
<div class="subcolumns productteaser">
    <asp:Repeater runat="server" ID="rptpro">
        <ItemTemplate>
            <div class="c20l">
                <div class="subc">
                    <a href='/SanPhamChiTiet/<%#Eval("SanPhamID")%>/<%#(bool)(Session["lang"].ToString()=="VN")?FriendlyUrl(Eval("TenSanPham").ToString()): (Eval("ProductName")+".aspx")%>'
                        title="Demo">
                        <input type="hidden" name="ldtype" value="infogrid">
                        <input type="hidden" name="stoken" value="FB22994"><input type="hidden" name="force_sid"
                            value="">
                        <input type="hidden" name="lang" value="0">
                        <input type="hidden" name="pgNr" value="0">
                        <input type="hidden" name="cl" value="start">
                        <input type="hidden" name="fnc" value="tobasket">
                        <input type="hidden" name="aid" value="ggia6c31f503ec16d4a68f7d3e114422">
                        <input type="hidden" name="anid" value="ggia6c31f503ec16d4a68f7d3e114422">
                        <input id="am_bargainItems_1" type="hidden" name="am" value="1">
                        <img src="/Media/<%#Eval("HinhAnh")%>" class="productimg" alt="xxx" />
                        <span class="producttitle">
                            <%#(bool)(Session["lang"].ToString()=="VN")?Eval("TenSanPham"):Eval("ProductName") %>
                        </span><span class="productoldprice">
                            <%#(bool)(int.Parse(Eval("GiamGia").ToString())>0)?((bool)(Session["lang"].ToString()=="VN")?Eval("DonGia","{0:0,0 đ}"):Eval("Price","{0:0,0 $}")):"" %></span>
                        <span class="productactprice">
                            <%#(bool)(Session["lang"].ToString()=="VN")?Eval("GiaHienTai","{0:0,0 đ}"):Eval("PresentPrice","{0:0,0 $}") %></span>
                        <span class="productdetail">
                            <asp:Label runat="server" ID="rlblDetail" Text="<%$ Resources:Language,rlblDetail %>"></asp:Label></span>
                        <div class="functions" itemprop="offers" itemscope="" itemtype="http://schema.org/Offer">
                            <div class="tobasketFunction clear">
                            </div>
                        </div>
                    </a>
                </div>
            </div>
        </ItemTemplate>
    </asp:Repeater>
</div>
